//    Copyright (C) Kherty.  All rights reserved.
using System;
using OpenLS.Spreadsheet.Drawing;

namespace OpenLS.Spreadsheet
{
    class AddedAnchorUndoUnit : AnchorUndoUnit
    {
        public AddedAnchorUndoUnit(Worksheet worksheet, Anchor anchor) : base(worksheet, anchor)
        {
        }

        public override void Do()
        {
            Worksheet.Anchors.Remove(Anchor);
        }
    }
}
